FROM hub.c.163.com/library/java:latest
VOLUME /tmp
RUN mkdir /data
EXPOSE 8080
ADD target/demo-0.0.1-SNAPSHOT.jar /data/app.jar
ENTRYPOINT ["java","-jar","/data/app.jar"]